package hcn.protocol.phr.healthrecord;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * 健康档案:获取门诊记录列表 入参
 *
 * @author lidq
 */
@XmlRootElement(name = "param")
@XmlAccessorType(XmlAccessType.FIELD)
public class ClinicRecordsQueryBean implements Serializable {

    private static final long serialVersionUID = 5570474815888665879L;
    // 患者证件类型
    private String identityType;
    // 患者证件号码
    private String identityNo;
    @XmlElementWrapper(name = "cardList")
    private List<Card> card;

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = identityType;
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public void setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
    }

    public List<Card> getCard() {
        return card;
    }

    public void setCard(List<Card> card) {
        this.card = card;
    }

    public static class Card {
        // 患者卡类型
        private String cardType;
        // 患者卡号码
        private String cardNo;

        public Card() {
        }

        public Card(String cardType, String cardNo) {
            this.cardType = cardType;
            this.cardNo = cardNo;
        }

        public String getCardType() {
            return cardType;
        }

        public void setCardType(String cardType) {
            this.cardType = cardType;
        }

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }
    }
}
